* {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: #3e96e8;
}

button {
  cursor: pointer;
}

li {
  list-style-type: none;
  font-size: 0;
  box-sizing: border-box;
}

.body {
  width: 100vw;
  height: 100vh;
  background-image: url("https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fpic3.zhimg.com%2Fv2-69e28ba28da1d7ac784b6f2ff240c162_r.jpg&refer=http%3A%2F%2Fpic3.zhimg.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1659666147&t=5f3bf93db965df9cf8de761fc43cfc30");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

@keyframes opacity2 {
  0% {
    opacity: 0;
  }

  10% {
    opacity: 0.1;
  }

  20% {
    opacity: 0.2;
  }

  30% {
    opacity: 0.3;
  }

  40% {
    opacity: 0.4;
  }

  50% {
    opacity: 0.5;
  }

  60% {
    opacity: 0.6;
  }

  70% {
    opacity: 0.7;
  }

  80% {
    opacity: 0.8;
  }

  90% {
    opacity: 0.9;
  }

  100% {
    opacity: 1;
  }
}

.box,
.register {
  width: 500px;
  min-height: 300px;
  background-color: aliceblue;
  margin-left: -500px;
  border-radius: 5px;
  animation: 1s opacity2 0s 1;
}

.register {
  display: none;
}

.title {
  height: 60px;
  border-bottom: 1px solid #eee;
  line-height: 60px;
  padding: 0 30px;
}

.content {
  padding: 20px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.input {
  height: 40px;
  width: 100%;
  margin-bottom: 20px;
  border: 2px solid #ccc;
  border-radius: 5px;
  background-size: 20px 20px;
  background-repeat: no-repeat;
  background-position: 2% center;
  box-sizing: border-box;
  padding: 0 35px;
}

.user {
  background-image: url("https://i.postimg.cc/7YYVBXGx/user.png");
}

.pwd,
.pwd2 {
  background-image: url("https://i.postimg.cc/sDqhpJ5H/pwd.png");
}

.captcha,
.regcaptcha {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

#img {
  width: 150px;
  height: 40px;
}

.cha {
  width: 50%;
  margin-bottom: 10px;
}

.button {
  width: 100%;
  background-color: #3e96e8;
  color: #fff;
  border-radius: 5px;
  border: 0;
  font-size: 16px;
  height: 40px;
  margin-bottom: 15px;
}

.bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.regbtn {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.reg-btn {
  width: 40%;
  background-color: #3e96e8;
  color: #fff;
  border-radius: 5px;
  border: 0;
  height: 40px;
  font-size: 16px;
}

.login {
  background-color: #fff;
  border: 1px solid #ccc;
  color: #3e96e8;
}

.avatar {
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.active {
  border: 3px solid #42f56f;
}

.showMessage {
  padding: 10px 20px;
  border-radius: 5px;
  position: fixed;
  top: 15%;
  left: 50%;
  color: #ffffff;
  z-index: 999;
  transform: translate(-50%, 0);
}

.showMessageSuccess {
  background-color: #f0f9eb;
  border: 1px solid #E1F3D8;
  color: #67c23a;
}

.showMessageError {
  background-color: #fef0f0;
  border: 1px solid #fde2e2;
  color: #F76C6C;
}